<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

Route::get('think', function () {
    return 'hello,ThinkPHP5!';
});

Route::get('hello/:name', 'index/hello');


//可变路由 防止被重复解析
Route::rule(':module/:controller/:action', ':module/:controller/:action');

Route::rule('login', 'admin/login/login'); //后台登录
Route::rule('dologin', 'admin/login/dologin');
Route::rule('logout', 'admin/login/logout');
Route::rule('admin', 'admin/index/index'); //后台主页
Route::rule('welcome', 'admin/index/welcome');
Route::rule('console', 'admin/index/console');
Route::rule('ment', 'admin/Reimbursement/Reimbursement'); //报销管理
Route::rule('waitStatus', 'admin/Reimbursement/waitStatus');
Route::rule('alreadyStatus', 'admin/Reimbursement/alreadyStatus');
Route::rule('addment', 'admin/Reimbursement/addMent');
Route::rule('editment', 'admin/Reimbursement/editment');
Route::rule('del', 'admin/Reimbursement/del');
Route::rule('recycleBin', 'admin/Reimbursement/recycleBin');
Route::rule('recycleBinDel', 'admin/Reimbursement/recycleBinDel');
//Route::rule('upload', 'admin/Reimbursement/upload');
Route::rule('user', 'admin/Accountnumber/Accountnumber'); //管理员管理
Route::rule('adduser', 'admin/Accountnumber/adduser');
Route::rule('edituser', 'admin/Accountnumber/edituser');
Route::rule('userdel', 'admin/Accountnumber/userdel');
Route::rule('statistics', 'admin/statistics/statistics'); //统计
Route::rule('day', 'admin/statistics/day');
Route::rule('week', 'admin/statistics/week');
Route::rule('month', 'admin/statistics/month');
Route::rule('year', 'admin/statistics/year');
Route::rule('menttype', 'admin/menttype/typelist'); //报销分类
Route::rule('addtype', 'admin/menttype/addtype');
Route::rule('edittype', 'admin/menttype/edittype');
Route::rule('typedel', 'admin/menttype/typedel');
Route::rule('userInformation', 'admin/userinformation/userInformation'); //人员列表
Route::rule('find', 'admin/userinformation/find');



















return [

];

